package com.dsr.classifier;

import weka.classifiers.lazy.IBk;
import com.dsr.instances.DocumentInstance;
import com.dsr.instances.DocumentInstances;
import com.dsr.util.DSRWekaUtil;
import com.dsr.util.enumu.ClassifiersEnum;
import com.dsr.util.enumu.FeatureValuesEnum;
import com.dsr.util.enumu.NGramEnum;

@SuppressWarnings("serial")
public class IBKDocumentClassifier extends IBk implements DocumentClassifer {
	FeatureValuesEnum valuesType;
	public IBKDocumentClassifier(FeatureValuesEnum valuesType) {
		this.valuesType = valuesType;
	}

	@Override
	public int classifyDocumentInstance(DocumentInstance docInstance) {
		
		return 0;
	}

	@Override
	public int[] classifyDocumentInstances(DocumentInstances docInstances) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ClassifiersEnum getClassifierType() {
		return ClassifiersEnum.IBK;
	}

	@Override
	public void updateClassifier(DocumentInstances docInstances) {
		// TODO Auto-generated method stub
		DSRWekaUtil.convertDocInstancesToWekaInstances(docInstances, valuesType);
	}

	@Override
	public NGramEnum getNgramType() {
		// TODO Auto-generated method stub
		return null;
	}
}
